<?php
/**
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
 <link rel="stylesheet" href="/templates/lysy_images/nivo-slider/themes/default/default.css" type="text/css" media="screen" />
 <link rel="stylesheet" href="/templates/nivo-slider.css" type="text/css" media="screen" />
 <link rel="stylesheet" href='/templates/lysy_css.css'/>
</head>
<body >
	<div class='u-dbody topban'>
		<img id='logoban' src='templates/lysy_images/logo.jpg'/>
		<div id='topadspan'>
			<jdoc:include type="modules" name="topad" />
		</div>
	</div>
	
	<div class='u-dbody tabmenu'>
		<jdoc:include type="modules" name="user3" />
	</div>
	<div class='toptext'>
		<div class='u-dbody'>
			<jdoc:include type="modules" name="menurollad" />
		</div>
	</div>
		
	<div class="search">
		<jdoc:include type="modules" name="user4" />
	</div>
	<div class="u-dbody" style='overflow: hidden;'>
		<div class='theme-default'>
			<jdoc:include type="modules" name="imgslider" />
		</div>
		<div class='classfirst'>
			<jdoc:include type="modules" name="user1" style="xhtml" />
		</div>
		<div class='classmodule u-class3' style='height:246px;'>
			<jdoc:include type="modules" name="user2" style="xhtml" />
		</div>
		
		<div class='classmodule u-class2'>
			<jdoc:include type="modules" name="user5" style="xhtml" />
		</div>
		<div class='classmodule'>
			<jdoc:include type="modules" name="user6" style="xhtml" />
		</div>
		<div class='classmodule u-class3' >
			<jdoc:include type="modules" name="user7" style="xhtml" />
		</div>
		
		<div class='u-ad admodule'>
			<jdoc:include type="modules" name="u_ad1" style="xhtml" />
		</div>
		
		<div class='classmodule u-class2'>
			<jdoc:include type="modules" name="user8" style="xhtml" />
		</div>
		<div class='classmodule'>
			<jdoc:include type="modules" name="user9" style="xhtml" />
		</div>
		<div class='classmodule u-class3'>
			<jdoc:include type="modules" name="user10" style="xhtml" />
		</div>
		
		<div class='u-ad admodule2'>
			<jdoc:include type="modules" name="u_ad2" style="xhtml" />
		</div>
		
		<div class='classmodule u-class2'>
			<jdoc:include type="modules" name="user11" style="xhtml" />
		</div>
		<div class='classmodule'>
			<jdoc:include type="modules" name="user12" style="xhtml" />
		</div>
		<div class='classmodule u-class3'>
			<jdoc:include type="modules" name="user13" style="xhtml" />
		</div>
		
		<div class='u-ad admodule2'>
			<jdoc:include type="modules" name="u_ad3" style="xhtml" />
		</div>
	</div> 
	<div class='u-foot'>
		<p>关于老年服务网|联系方式|广告服务<jdoc:include type="modules" name="ufoot" /></p>
		<p>2012&nbsp;老年服务网<span>LNFWW.com</span>&nbsp;版权所有&nbsp;/&nbsp;京ICP备12017907号-1</p>
	</div>
	<script type="text/javascript" src="/templates/js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="/templates/js/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    $(document).ready(function(){
    var firstLi = $('div.classfirst ul li').first();
 		firstLi.css({'font-size':'20px',
				   'color':'#000',
				   'font-weight':'700',
				   'text-align':'center',
				   'border-bottom':'1px solid #CCCCCC',
				   'padding-bottom':'10px',
				   'margin-bottom':'20px'});
		firstLi.find('a').css('background-image','none');
	var eq1Li = $('div.classfirst ul li').eq(1);
 		eq1Li.css({'font-size':'20px',
				   'color':'#000',
				   'font-weight':'700',
				   'text-align':'center',
				   'border-bottom':'1px solid #CCCCCC',
				   'padding-bottom':'10px',
				   'margin-bottom':'20px'});
		eq1Li.find('a').css('background-image','none');		   									   
 		$('div.classfirst ul li').eq(4).css({'border-bottom':'1px solid #CCCCCC',
 											   'padding-bottom':'10px',
 											   'margin-bottom':'10px'});
 				
 		
 		$('div.classmodule').each(function(){
			$(this).find('li').eq(3).css({'border-bottom':'1px solid #CCCCCC',
 											   'padding-bottom':'10px',
 											   'margin-bottom':'10px'});
 		});
 																		   
 	});
    </script>
</body>
</html>
